|
|
"JRG" <jrg### [at] hotmailcom> wrote in message news:3bd19303@news.povray.org...
> >
> > > BTW this looks really cool. Beautiful textures.
> > Thanks! I was really happy with the background texture. Feels almost
> like
> > velvet.
>
> I was just wandering how you did it.
>
> --
> Jonathan.
>
The velvet? Pretty simple, actually. I used the following pigment within a
sky_sphere.
// A red velvet-like texture
// Michael D Johnson (red### [at] wvadelphianet)
// Use freely. But give me credit if you can :-)
#declare C_Reds = color_map { [0.0 Black][1.0 Red * 0.5] }
pigment
{
average
pigment_map
{
[1.00
bozo
color_map { C_Reds}
sine_wave frequency 4 scale 0.25
turbulence 0.5
omega 0.5 octaves 3 lambda 2
]
[0.90
bozo
color_map { C_Reds}
scallop_wave frequency 2 scale 0.25
turbulence 0.9
omega 0.75 octaves 4 lambda 2.5
rotate y * 45
]
}
}
Enjoy!
Michael
--
#macro M(D)#local J=strlen(D);#local _=""#while(J>0)#local _=concat(_,substr(D
,J,1))#local J=J-1;#end _#end sphere{z*9,5pigment{rgb x}}#macro N(D,J)text{ttf
"timrom.ttf"M(D)1,0 translate-J}#end#macro O(E,K)#local _=N(E,K)light_source{-
z*9rgb 1projected_through{_}}#end O("leahciM"<1.6,-.3.9>)O("nosnhoJ"<1.6.9.9>)
Post a reply to this message
|
|